package func.hackathon.c2.yao;

import java.util.List;

/**
 * 缓存节点
 * （引入虚拟节点，解决key有可能分布不均匀的问题）
 * Created by chenyao on 2017/7/24.
 */
public class Shard {
    private String name;
    private String ip;

    private List<Object> contents;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public List<Object> getContents() {
        return contents;
    }

    public void setContents(List<Object> contents) {
        this.contents = contents;
    }
}
